package store.lunangangster.engine.bpmn.parser.handler;

import store.lunangangster.bpmn.model.Gateway;
import store.lunangangster.bpmn.model.InclusiveGateway;
import store.lunangangster.engine.bpmn.parser.BpmnParser;
import store.lunangangster.engine.impl.bpmn.behavior.InclusiveGatewayBehavior;

public class InclusiveGatewayParseHandler extends GatewayParseHandler<InclusiveGateway> {

  @Override
  public void handle0(BpmnParser bpmnParser, InclusiveGateway inclusiveGateway) {
    inclusiveGateway.setBehavior(new InclusiveGatewayBehavior());
  }

  @Override
  public Class<? extends Gateway> getType() {
    return InclusiveGateway.class;
  }
}
